package org.example.car.system.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author Lin
 * @createDate 2024-06-25 14:41:10
 */
@Data
public class SysDept {
    @ExcelIgnore
    private Integer id;
    @ExcelProperty("部门编号")
    private Integer deptId;
    @ExcelIgnore
    private Integer parentId;
    @ExcelIgnore
    private String ancestors;
    @ExcelProperty("部门名称")
    private String deptName;
    @ExcelProperty("排序")
    private Integer orderNum;
    @ExcelProperty("部门负责人")
    private String leader;
    @ExcelProperty("手机号")
    private String phone;
    @ExcelProperty("邮箱")
    private String email;
    @ExcelProperty("状态")
    private String status;
    @ExcelIgnore
    private String delFlag;
    @ExcelIgnore
    private String createBy;
    @ExcelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    private Date createTime;
    @ExcelIgnore
    private String updateBy;
    @ExcelIgnore
    private Date updateTime;
}
